package com.bbc.base;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.support.TransactionTemplate;

public class BaseService {
	
	@Autowired
	private PlatformTransactionManager transactionManager;

	public TransactionTemplate getTransactionTemplate() {
        return new TransactionTemplate(transactionManager);
    }

}
